![]() |
ALMaSS
1.0
The Animal, Landscape and Man Simulation System
|
A class for storing livestock parameters and variables for optimising farms. More...
#include <farm.h>
Public Member Functions | |
Livestock (TTypesOfAnimals a_animalType, int a_number) | |
Constructor. More... | |
Public Attributes | |
TTypesOfAnimals | m_animalType |
Type of livestock. More... | |
int | m_number |
Number of animals of a given type at a farm. More... | |
double | m_NanimUsable |
Amount of usable animal fertilizer from a given type of livestock. [kg]. More... | |
double | m_FUdemand |
Amount of fodder needed for a given type of livestock. [fodder units]. More... | |
A class for storing livestock parameters and variables for optimising farms.
Livestock::Livestock | ( | TTypesOfAnimals | a_animalType, |
int | a_number | ||
) |
Constructor.
References m_animalType, m_FUdemand, m_NanimUsable, and m_number.
TTypesOfAnimals Livestock::m_animalType |
Type of livestock.
Referenced by Livestock().
double Livestock::m_FUdemand |
Amount of fodder needed for a given type of livestock. [fodder units].
Referenced by Livestock().
double Livestock::m_NanimUsable |
Amount of usable animal fertilizer from a given type of livestock. [kg].
Referenced by Livestock().
int Livestock::m_number |
Number of animals of a given type at a farm.
Referenced by Livestock().